<script setup>
import {selectItemStore} from "@/stores/SelectItem.js";
import * as imgPathUtil from "@/utils/imgPathUtil.js"
const selectItemStr = selectItemStore()
</script>

<template>
  <div>
    <el-check-tag v-for="(item,index) in selectItemStr.list" :checked="item.select" @click="selectItemStr.click(index)" style="margin: 3px 3px"><el-image style="width: 30px;height: 30px" fit="contain" :src="imgPathUtil.getImage(item.value)"></el-image></el-check-tag>
  </div>
</template>

<style scoped>

</style>